<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>无标题文档</title>
</head>
<style>
        a{
            text-decoration: none;
            display: block;
        }
        .con{
            position: relative;
            width: 410px;
        }
        .con .item{
            width: 100%;
            height: 100%;
        }
        .con .item img{
            width: 100%;
        }
        .play-btn {
            opacity: 0;
            position: absolute;
            width: 56px;
            height: 56px;
            right: 10%;
            bottom: 10%;
            background: url(img/zwork4img2.png) no-repeat center center;
            transition: opacity 1s ease-in-out;
        }
        .con:hover .play-btn{
            opacity: 1;
        }
        .mask{
            width: 100%;
            height: 0;
            bottom: 0;
            background-color: rgba(255,255,255,.8);
            position: absolute;
            transition: height .5s ease-in-out;
            overflow: hidden;

        }
        .con:hover .mask{
            height: 100%;
        }
    </style>
<body>
	<div class="con"> 
        <a div class="item">
            <img src="img/zwork4img1.jpg" alt="">
        </a>
        <a div class="play-btn"></a>
        <a div class="mask">
            <h3>hello world</h3>
            <p>testesttetstae</p>
        </a>
    </div>
</body>
</html>
